package com.neo.tiny.util;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.neo.tiny.common.common.PageParam;

/**
 * @Description:
 * @Author: yqz
 * @CreateDate: 2022/9/15 22:46
 */
public class MyBatisUtils {

    public static <T> Page<T> buildPage(PageParam pageParam) {
        return new Page<>(pageParam.getCurrent(), pageParam.getSize());

    }

}
